gtk-demo: Fixes for the sliding puzzle
authorMatthias Clasen <mclasen@redhat.com>
Sun, 31 May 2020 15:02:36 +0000 (11:02 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 May 2020 17:01:17 +0000 (13:01 -0400)
commit8e0ba378664d5b385410aa4497473fc6927efe40
tree642ac17d39904eb245f048eaa0c54e2401d78634
parent8780f50e7ef7e1dc847611eef5201134beeead4e
gtk-demo: Fixes for the sliding puzzle

We were calling check_solved only for key presses,
meaning you could never solve the puzzle with the
mouse.
demos/gtk-demo/sliding_puzzle.c